<?php
declare (strict_types = 1);

namespace app\admin\model;

use think\Model;
use app\admin\model\user\user;
/**
 * @mixin \think\Model
 */
class CustomerMessage extends Model
{

    public function user(){
      return  $this->belongsTo(User::class,'user_id','id')->bind(['nickname','avatar']);
    }

}
